package com.travel.server.manager.dto.response.customer;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/11/9 17:00
 * @Desc:
 */
@Data
public class QueryCustomerInfoListResponse {

    @JSONField(name = "total_num")
    private Integer totalNum = 0;

    @JSONField(name = "customer_list")
    private List<CustomerItem> customerList = new ArrayList<>();

    @Data
    public static class CustomerItem{

        private Integer id;

        private String name;

        private String mobile;

        @JSONField(name = "wechat_number")
        private String wechatNumber;

        @JSONField(name = "wechat_nick")
        private String wechatNick;

        private String source;

        private String mail;

        @JSONField(name = "member_grade")
        private String memberGrade;

        @JSONField(name = "member_grade_id")
        private Integer memberGradeId;
    }
}
